package com.usian.mapper;

import com.usian.enlist.Enlist;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface EnlistMapper {
    List<Enlist> findAll();

    @Insert("insert into enlist(phone,sex,real_name,present) values(#{phone},#{sex},#{real_name},#{present})")
    int add(Enlist enlist);
}
